Near-infrared devices